﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Dyao.Book.Contract;
using Foundation.Entity;

#nullable disable

namespace Dyao.Book.Entity
{
    [Table("DataTaskCenterRecordLog")]
    public partial class TaskCenterRecordLogEntity : BaseEntity<int>, ICreateUserName, ICreateOn
    {
        /// <summary>
        /// 任务中心记录ID
        /// </summary>
        public int TaskCenterRecordId { get; set; }

        /// <summary>
        /// 等级类型
        /// </summary>
        public TaskCenterRecordLogTypeEnum Type { get; set; }

        /// <summary>
        /// 信息
        /// </summary>
        [StringLength(500)]
        public string Message { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string Remark { get; set; }

        [Required]

        [StringLength(50)]
        public string CreateUserName { get; set; }

        public DateTime CreateDateTime { get; set; }
    }
}
